<html>
<head>
     <meta charset="UTF-8">
	<title>注册</title>
	<style type="text/css">
	body{background-image:url(2.jpg) ;background-size: 90%}
	</style>
	</head>
	<body>
		<form action="doreg.php" method="post">
			<table>
				<caption>东软教学系统</caption>
				<tr>
					<td><label for="username">用户名</label></td>
					<td><input type="text"name="username"  id="username" required></td>
				</tr>
				<tr>
					<td><label for="password">密码</label></td>
					<td><input type="password"name="password"  id="password" required></td>
				</tr>
				<tr>
					<td><label for="cpw">确认密码</label></td>
					<td><input type="password"name="cpw"  id="cpw" required></td>
				</tr>
				<tr>
					<td><label for="sex">性别</label></td>
					<td>
						<input type="radio"name="sex"  id="sex" value="男" checked>男
						<input type="radio"name="sex"  id="sex" value="女" checked>女
					</td>
				</tr>
				<tr>
					<td>生日：</td>
					<td><input type="date"name="birthday"></td>

				</tr>
				<tr>
					<td>学历:</td>
					<td>
						<select name="degree">
							<option value="0" >请选择</option>
							<option value="1" >大专</option>
							<option value="2" >本科</option>
							<option value="3" >研究生</option>
						</select></td>
					</tr>
					<tr>
						<td><label for="tel">手机号</label></td>
						<td><input type="number"name="tel"  id="tel" required></td>
					</tr>
					<tr>
						<td><label for="email>手机号</label></td>
						<td><input type="email"name="email"  id="email;" required></td>
					</tr>
					<tr>
						<td><label for="url>个人主页</label></td>
						<td><input type="url"name="url"  id="url;" required></td>
					</tr>
					<tr>
						<td><label for="hobby">爱好</label></td>
						<td>
							<input type="checkbox"name="hobby[]"  id="hobby" value="游泳">游泳
							<input type="checkbox"name="hobby[]"  id="hobby" value="旅游">旅游
							<input type="checkbox"name="hobby[]"  id="hobby" value="登山">登山
							<input type="checkbox"name="hobby[]"  id="hobby" value="健身">健身
							<input type="checkbox"name="hobby[]"  id="hobby" value="上网">上网
						</td>
					</tr>
					<tr>
						<td>自我介绍</td>
						<td>
							<textarea name="intro">自我简介：</textarea>
						</td>
					</tr>
					<tr>
						<td>头像</td>
						<td><input type="file"name="pic"></td>
					</tr>
					<tr>
						<td colspan="2">
							<input type="submit"value="提交">
							<input type="reset"value="重置">
						</td>
					</tr>
				</table>
			</form>
		</body>
		</html>